﻿<%@ Control Language="C#" AutoEventWireup="true" Codebehind="UserPassword.ascx.cs"
    Inherits="Portal.Administrator.Users.UserPassword" %>
<%@ Register Assembly="System.Web.Extensions" Namespace="System.Web.UI" TagPrefix="asp" %>
<asp:UpdatePanel ID="upanelChangePassword" runat="server" UpdateMode="Conditional"
    RenderMode="Inline">
    <Triggers>
        <asp:AsyncPostBackTrigger ControlID="btnUpdate" EventName="Click" />
    </Triggers>
    <ContentTemplate>
        <table border="0" cellpadding="2" cellspacing="2" class="InputBox" style="width: 100%">
            <tr>
                <td>
                    <asp:Label ID="lblUpdateStatus" runat="server" meta:resourcekey="lblUpdateStatusResource1" ForeColor="Blue"></asp:Label></td>
            </tr>
        </table>
        <br>
        <table border="0" cellpadding="2" cellspacing="2" class="InputBox" style="width: 100%">
            <tr>
                <td style="width: 150px">
                    <strong>
                        <asp:Label ID="lblName" runat="server" Text="Tên truy cập:" meta:resourcekey="lblNameResource1"></asp:Label></strong></td>
                <td>
                    <asp:Label ID="lblUsername" runat="server" Font-Bold="True" meta:resourcekey="lblUsernameResource1"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 150px">
                    <strong>
                        <asp:Label ID="lblNewPass" runat="server" Text="Mật khẩu mới:" meta:resourcekey="lblNewPassResource1"></asp:Label></strong></td>
                <td>
                    <asp:TextBox ID="txtPassword" runat="server" meta:resourcekey="txtPasswordResource1" TextMode="Password"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 150px">
                    <strong>
                        <asp:Label ID="lblConfirmNewPass" runat="server" Text="Xác nhận mật khẩu mới:" meta:resourcekey="lblConfirmNewPassResource1"></asp:Label></strong></td>
                <td>
                    <asp:TextBox ID="txtPasswordConfirm" runat="server" meta:resourcekey="txtPasswordConfirmResource1" TextMode="Password"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="height: 23px">
                </td>
                <td style="height: 23px">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="left">
                    <asp:Button ID="btnUpdate" runat="server" CssClass="Button" OnClick="btnUpdate_Click"
                        Text="Cập nhật" meta:resourcekey="btnUpdateResource1" />&nbsp;
                    <asp:Button ID="btnCancel" runat="server" CssClass="Button" OnClick="btnCancel_Click"
                        Text="Quay lại" meta:resourcekey="btnCancelResource1" /></td>
            </tr>
        </table>
    </ContentTemplate>
</asp:UpdatePanel>
